
export default [
  {
    path: '/:pathMatch(.*)*',
    component: {template: '<h1 style="font-size:4rem;">404 Not Found</h1>'}
  },
  ...Object.entries(import.meta.globEager('../components/*.vue')).map(([path, {default: component}], index) => {
    return {
      path: '/' + path.split('/').pop().match(/\d+/)[0],
      component: component,
      meta: {
        desc: [
          '正常',
          '无限滚动-批量加载更多',
          '无限滚动-单个加载更多',
          '虚拟滚动-批量加载更多的同时销毁旧的',
          '虚拟滚动-单个加载更多的同时销毁旧的'
        ][index]
      }
    }
  })
]
